Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > LeadCollection<T> Class : CollectionChanged Event |
public event EventHandler<NotifyLeadCollectionChangedEventArgs> CollectionChanged
'Declaration
Public Event CollectionChanged As EventHandler(Of NotifyLeadCollectionChangedEventArgs)
'Usage
Dim instance As LeadCollection(Of T) Dim handler As EventHandler(Of NotifyLeadCollectionChangedEventArgs) AddHandler instance.CollectionChanged, handler
public event EventHandler<NotifyLeadCollectionChangedEventArgs> CollectionChanged
add_CollectionChanged(function(sender, e)) remove_CollectionChanged(function(sender, e))
public: event EventHandler<NotifyLeadCollectionChangedEventArgs^>^ CollectionChanged
The event handler receives an argument of type NotifyLeadCollectionChangedEventArgs containing data related to this event. The following NotifyLeadCollectionChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets the action that caused the event. |
NewItems | Gets the list of new items involved in the change. |
NewStartingIndex | Gets the 0-based index at which the change occurred. |
OldItems | Gets the list of old items involved in the change. |
OldStartingIndex | Gets the 0-based index at which a Move, Remove, or Replace action occurred. |